package org.lex.depends.core.resource;

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;

public class URLResource extends AbstractResource {
	private final URL url;

	public URLResource(URL url) {
		this.url = url;
	}

	@Override
	public InputStream getInputStream() throws IOException {
		return url.openStream();
	}
}
